package XML;

public class AddAttribute implements Command{
	public TagXML t;
	public Attribute a;
	
	public AddAttribute(){
		super();
	}
	
	public AddAttribute(TagXML t, Attribute a){
		super();
		this.t = t;
		this.a = a;
	}

	public TagXML getT() {
		return t;
	}

	public void setT(TagXML t) {
		this.t = t;
	}

	public Attribute getA() {
		return a;
	}

	public void setA(Attribute a) {
		this.a = a;
	}
	
	public void execute(){
		t.atribute.add(a);
	}
	
}
